module.exports = {
  base: '/blog/',
  title: 'MichstaBe',
  description: 'MichstaBe Blog',// mate标签description，多用于搜索引擎抓取摘要
  head: [
    ['link', { rel: 'icon', href: '/avatar.png' }]
  ],
  themeConfig: {
    siteTitle: 'MichstaBe',
    logo: '/avatar.png',
    nav: [
      { text: "项目", link: "/project/" },
      {
        text: "网址",
        items: [
          { text: 'freeCodeCamp', link: 'https://www.freecodecamp.org/chinese/learn' },
          { text: 'leetcode', link: 'https://leetcode.cn/leetbook/' },
          // { text: '前端学习路线', link: 'https://zhuanlan.zhihu.com/p/164701269' },
          { text: '前端开放文档', link: 'https://whjin.github.io/frontend-dev-doc/' },
          // { text: '面试大厂真题', link: 'https://www.acmcoder.com/#/practice/company' },
          // { text: '大前端面试题库', link: 'http://bigerfe.com/' },
          // { text: '前端面试题', link: 'https://github.com/febobo/web-interview/' },
          { text: '优秀博客', link: 'https://github.com/mqyqingfeng/Blog' },
          { text: '深入浅出webpack', link: 'http://webpack.wuhaolin.cn/' },
        ]
      },
    ],
    socialLinks: [
      { icon: "gitee", link: "https://gitee.com/michstaBe1024" },
    ],
    sidebar: {
      "/jsBase": [
        {
          text: 'js基础',
          items: [
            { text: '有用的 JavaScript 单行代码', link: '/jsBase/tenJsCode' },
            { text: '闭包', link: '/jsBase/closure' },
            { text: '继承', link: '/jsBase/extends' },
          ],
        },
      ],
      "/compDemo": [
        {
          text: '组件',
          items: [
            {
              text: "Form组件",
              link: '/compDemo/form'
            }
          ]
        }
      ],
      "/project": [
        {
          text: '项目',
          items: [
            {
              text: 'react-admin',
              link: '/project/react-admin'
            }
          ]
        }
      ],
      "/fp": [
        {
          text: '',
          items: [
            { text: '函数式编程', link: '/fp/index' },
            { text: '高阶函数', link: '/fp/higher-order-fun' },
            { text: '闭包', link: '/fp/closure' },
            { text: '纯函数', link: '/fp/pureFn' },
            { text: '柯里化', link: '/fp/curry' },
          ],
        },
      ],
      "/demo": [
        {
          text: 'demo',
          items: [
            { text: '放烟花', link: '/demo/fireworks' },
          ],
        },
      ],
      "/promise": [
        {
          text: 'Promise',
          items: [
            { text: '手写实现promise', link: '/promise/sourceCode' },
          ],
        },
      ],
      "/algorithm": [
        {
          text: '数据结构与算法',
          items: [
            { text: '栈', link: '/algorithm/stack' },
          ],
        },
      ],
      "/vueComp": [
        {
          text: 'vue组件',
          items: [
            { text: '高级Form组件', link: '/vueComp/form' },
          ],
        },
      ],
      "/smallRoutine": [
        {
          text: '小程序',
          items: [
            { text: '语音识别功能', link: '/smallRoutine/wechatSi' },
            { text: '虚拟列表', link: '/smallRoutine/virtual' },
          ],
        },
      ],
      "/scheme": [
        {
          text: '方案合集',
          items: [
            { text: '水印功能', link: '/scheme/watermark' },
            { text: '代理方案', link: '/scheme/nginx' },
            { text: '加密方案', link: '/scheme/encryption' },
            { text: '上传阿里云 oss', link: '/scheme/basicUpload' },
            { text: '三维表格', link: '/scheme/treeDTable' },
            { text: '导出动态表格', link: '/scheme/exportexcel' },
          ],
        },
      ],
      "/problemRecord": [
        {
          text: '问题记录',
          items: [
            { text: '小程序问题', link: '/problemRecord/small/uniapp' },
            { text: 'vxetable', link: '/problemRecord/vxeTable/scroll' },
          ],
        },
      ],
      "/interviewQuestions": [
        {
          text: '',
          items: [
            { text: '前端基础', link: '/interviewQuestions/base' },
          ],
        },
      ],
      "/utils": [
        {
          text: '工具库',
          items: [
            {
              text: '数据类',
              items: [
                { text: '数值类', link: '/utils/datas/number' },
                { text: '字符串', link: '/utils/datas/string' },
              ]
            },
            {
              text: '类型判断',
              items: [
                { text: 'is 类型校验', link: '/utils/validate/is' }
              ]
            },
            {
              text: '常用功能',
              items: [
                { text: '处理blob流文件', link: '/utils/common/blob' }
              ]
            },
            {
              text: '浏览器相关',
              items: [
                {
                  text: 'URL',
                  link: '/utils/validate/validate'
                }
              ]
            },
          ],
        },
      ],
      "/componentLib": [
        {
          text: '组件库',
          items: [
            { text: '使用vite进行搭建', link: '/componentLib/vite' },
            { text: '搭建框架', link: '/componentLib/build' },
          ],
        },
      ],
      "/performance/": [
        {
          text: '性能',
          items: [
            { text: '基础', link: '/performance/base' },
            { text: '为什么要优化性能', link: '/performance/performance' },
            { text: '性能测量工具', link: '/performance/tools' },
            { text: '渲染优化', link: '/performance/render' },
          ],
        },
      ],
      "/http/": [
        {
          text: 'HTTP',
          items: [
            { text: '了解HTTP', link: '/http/base' },
            { text: '熟悉HTTP协议结构和通讯原理', link: '/http/base2' },
            { text: '深入认识HTTP协议的特性和使用方法', link: '/http/base3' },
            { text: '实验使用HTTP协议构建应用', link: '/http/base4' },
            { text: '安全的HTTPS', link: '/http/base5' },
            { text: '基于HTTP的功能追加协议', link: '/http/base6' },
            { text: 'Web安全威胁浅析', link: '/http/base7' },
          ],
        },
      ],
      "/vueResources/": [
        {
          text: 'Vue3源码',
          items: [
            {
              text: '',
              items: [
                { text: '编程范式之命令编程', link: '/vueResources/vue3/index' }
              ]
            },
          ],
        },
      ],
    },
  },
}